# stall cases
# test case s0
# stall
1
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
0
# memtype
MEM_W
# wb rd
10111
# wb write
0
# wb src
WBS_ALU
# pc_old
0100001010011001
# pc_new
0011000101111111
# aluresult
00111010110101111011010110110000
# wrdata
01100010111011101100001111100000
# zero
1
# mem busy
0
# mem rddata
00001010011000101110001100110100

# test case s1
# stall
1
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
0
# memtype
MEM_B
# wb rd
01110
# wb write
0
# wb src
WBS_OPC
# pc_old
0001001001100110
# pc_new
0100000111100001
# aluresult
01101100110101100001110011010111
# wrdata
01000011000000001011001011110111
# zero
1
# mem busy
0
# mem rddata
01010100010011110110011010010111

# test case s2
# stall
1
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
0
# memtype
MEM_HU
# wb rd
11010
# wb write
1
# wb src
WBS_MEM
# pc_old
1010101110110000
# pc_new
0011001101010011
# aluresult
00011001001011010101001001000010
# wrdata
01010001010010010000100010100010
# zero
0
# mem busy
1
# mem rddata
00111101000010110011101000100001

# flush cases
# test case f0
# stall
0
# flush
1
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_B
# wb rd
10000
# wb write
0
# wb src
WBS_MEM
# pc_old
0100010100001111
# pc_new
0100110101100101
# aluresult
00010010000011010011100110101001
# wrdata
00110011101111101000011100011101
# zero
0
# mem busy
1
# mem rddata
00100111011111100010110110011111

# test case f1
# stall
0
# flush
1
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_H
# wb rd
11010
# wb write
1
# wb src
WBS_OPC
# pc_old
0100010111111100
# pc_new
1100011000111001
# aluresult
00101001000111101101011011011001
# wrdata
01010010110000100100011110111011
# zero
0
# mem busy
1
# mem rddata
00101000001100001100101000000011

# test case f2
# stall
0
# flush
1
# branchtype
BR_CND
# memread
1
# memwrite
0
# memtype
MEM_H
# wb rd
00010
# wb write
0
# wb src
WBS_OPC
# pc_old
1001011111100110
# pc_new
0101000011101110
# aluresult
00100010011111001101011000010110
# wrdata
01001010000010001001101100110100
# zero
1
# mem busy
1
# mem rddata
01011000000111001110100010011001

# test case 0
# stall
0
# flush
0
# branchtype
BR_CND
# memread
1
# memwrite
0
# memtype
MEM_B
# wb rd
00110
# wb write
1
# wb src
WBS_MEM
# pc_old
0100011001101110
# pc_new
1000110111010100
# aluresult
01000111000000011001010010011010
# wrdata
01101000101101001000110000000011
# zero
1
# mem busy
1
# mem rddata
00011000011001010100110100100100

# test case 1
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_B
# wb rd
11110
# wb write
0
# wb src
WBS_MEM
# pc_old
0000111100110011
# pc_new
0111100001100001
# aluresult
01011110110001111010011000011010
# wrdata
01000110000010110101110000001110
# zero
0
# mem busy
0
# mem rddata
00010100100110000100000011100101

# test case 2
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_W
# wb rd
00010
# wb write
0
# wb src
WBS_OPC
# pc_old
1101101101100100
# pc_new
1110101100010101
# aluresult
01100111010110001000101010001111
# wrdata
00110111111011010110101111011011
# zero
0
# mem busy
1
# mem rddata
01000000001001101111100110110000

# test case 3
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_W
# wb rd
10000
# wb write
0
# wb src
WBS_MEM
# pc_old
0010101110000111
# pc_new
0111100000000000
# aluresult
00011110000110010100000111101011
# wrdata
01110010110100100100100010111010
# zero
1
# mem busy
1
# mem rddata
01011111101010101100000100011011

# test case 4
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_BU
# wb rd
00010
# wb write
0
# wb src
WBS_MEM
# pc_old
1110110101000000
# pc_new
1110111100000001
# aluresult
01001010000000101000000001110110
# wrdata
01101001011011011010011011000010
# zero
0
# mem busy
0
# mem rddata
00010110101000001001000111010111

# test case 5
# stall
0
# flush
0
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_B
# wb rd
10110
# wb write
1
# wb src
WBS_MEM
# pc_old
1011100100010111
# pc_new
1110011110111101
# aluresult
01001011101101001011111001111011
# wrdata
01100111100011100110001100111011
# zero
0
# mem busy
0
# mem rddata
00001001101001001101101100111011

# test case 6
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_B
# wb rd
10101
# wb write
1
# wb src
WBS_MEM
# pc_old
1100000110100010
# pc_new
0101111101111000
# aluresult
01010010100001001101001011101011
# wrdata
00010001111111011010111110110100
# zero
0
# mem busy
1
# mem rddata
01110110110011101001111010110110

# test case 7
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_W
# wb rd
11100
# wb write
1
# wb src
WBS_ALU
# pc_old
0000000110010001
# pc_new
1101010110111001
# aluresult
00000001000001111000011001110000
# wrdata
01010011011111011100001011110111
# zero
0
# mem busy
1
# mem rddata
00011100101011111010101010110100

# test case 8
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_W
# wb rd
00001
# wb write
0
# wb src
WBS_OPC
# pc_old
0110110110011110
# pc_new
1110001101100011
# aluresult
01010010001010000000001111101001
# wrdata
00001100101001100110000101110101
# zero
0
# mem busy
1
# mem rddata
01010001010010001100000011101110

# test case 9
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_H
# wb rd
00011
# wb write
0
# wb src
WBS_OPC
# pc_old
0111001100010001
# pc_new
1011001100110110
# aluresult
00011011001001110011011001011000
# wrdata
00100110000101110110101111010110
# zero
0
# mem busy
1
# mem rddata
01110011001010100100000110001111

# test case 10
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_W
# wb rd
01000
# wb write
0
# wb src
WBS_MEM
# pc_old
0100011001001011
# pc_new
1101000110110011
# aluresult
01101110001000110101111110110011
# wrdata
00001111001001101100010001001010
# zero
1
# mem busy
1
# mem rddata
01001111110100001010011110101101

# test case 11
# stall
0
# flush
0
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_HU
# wb rd
11100
# wb write
1
# wb src
WBS_OPC
# pc_old
1111111111011100
# pc_new
0000111000101111
# aluresult
00101100101100000111100011010101
# wrdata
00100101111101010001001111010010
# zero
1
# mem busy
0
# mem rddata
01000010100011001100011100001001

# test case 12
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_B
# wb rd
01100
# wb write
1
# wb src
WBS_MEM
# pc_old
0111001111001101
# pc_new
0110110100111110
# aluresult
00110000100000101010110000100011
# wrdata
01011101111110010001100101100001
# zero
0
# mem busy
0
# mem rddata
00111001101001111110101100010100

# test case 13
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
10101
# wb write
0
# wb src
WBS_MEM
# pc_old
1110110111011100
# pc_new
0111111100100000
# aluresult
00111101010010101111101111101001
# wrdata
00001010101110011101110110010001
# zero
0
# mem busy
0
# mem rddata
01001001010101011110101111000000

# test case 14
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
01110
# wb write
1
# wb src
WBS_MEM
# pc_old
1010100001001010
# pc_new
0111101100111011
# aluresult
00011111001001101011000001011011
# wrdata
01110001111000110100000110010110
# zero
1
# mem busy
0
# mem rddata
00100110000111001010111011010100

# test case 15
# stall
0
# flush
0
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_W
# wb rd
00111
# wb write
0
# wb src
WBS_MEM
# pc_old
1101100100011111
# pc_new
1101010011011010
# aluresult
01100101010101111111000110111110
# wrdata
00111011011100010011011110000101
# zero
1
# mem busy
1
# mem rddata
00011001110101101011011010100101

# test case 16
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_H
# wb rd
10110
# wb write
1
# wb src
WBS_MEM
# pc_old
0100110101101111
# pc_new
1001111101011000
# aluresult
01110101011001010101011110101101
# wrdata
00100010111000100010010000010000
# zero
1
# mem busy
1
# mem rddata
00100000101110001001111101001011

# test case 17
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_B
# wb rd
01010
# wb write
0
# wb src
WBS_MEM
# pc_old
1110100011010011
# pc_new
0011000101000111
# aluresult
00011000101011110111010110000000
# wrdata
01111001110001010001000101110001
# zero
0
# mem busy
0
# mem rddata
01111000111000001110011001001011

# test case 18
# stall
0
# flush
0
# branchtype
BR_CND
# memread
1
# memwrite
0
# memtype
MEM_HU
# wb rd
01001
# wb write
1
# wb src
WBS_ALU
# pc_old
1111001001110110
# pc_new
1101111101000010
# aluresult
01110000111011111010110001011001
# wrdata
01010010011011101001101101100011
# zero
1
# mem busy
0
# mem rddata
01100111100000010011101010111011

# test case 19
# stall
0
# flush
0
# branchtype
BR_CND
# memread
1
# memwrite
0
# memtype
MEM_BU
# wb rd
00110
# wb write
0
# wb src
WBS_OPC
# pc_old
0111111110010011
# pc_new
1110000001000101
# aluresult
01001011001110100100001111101110
# wrdata
01000110101110100110111111110101
# zero
1
# mem busy
0
# mem rddata
01011111110011011010000100111100

# test case 20
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_W
# wb rd
11111
# wb write
1
# wb src
WBS_MEM
# pc_old
0111110110100101
# pc_new
0101000011110001
# aluresult
01110111010111011001000000100100
# wrdata
01101111111101111011101001110000
# zero
0
# mem busy
0
# mem rddata
00011100011001011001100110110010

# test case 21
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_W
# wb rd
10110
# wb write
1
# wb src
WBS_MEM
# pc_old
1000001101101111
# pc_new
0110101000111011
# aluresult
01111100101011011111110000101000
# wrdata
00110000101111100100000010010100
# zero
0
# mem busy
0
# mem rddata
01010100011001010010000011011001

# test case 22
# stall
0
# flush
0
# branchtype
BR_CND
# memread
1
# memwrite
0
# memtype
MEM_B
# wb rd
10000
# wb write
0
# wb src
WBS_MEM
# pc_old
1011000111000100
# pc_new
1001001000011010
# aluresult
01101111101001101111010010010111
# wrdata
00110010011011111101011001000011
# zero
1
# mem busy
0
# mem rddata
00011110010010100010011100110100

# test case 23
# stall
0
# flush
0
# branchtype
BR_CND
# memread
0
# memwrite
1
# memtype
MEM_HU
# wb rd
10100
# wb write
1
# wb src
WBS_MEM
# pc_old
0001110110110010
# pc_new
0100011001110011
# aluresult
00111001100001101011100000001101
# wrdata
00111101100101100111011001101011
# zero
1
# mem busy
1
# mem rddata
00011010011010101110000010100110

# test case 24
# stall
0
# flush
0
# branchtype
BR_CND
# memread
1
# memwrite
0
# memtype
MEM_B
# wb rd
11010
# wb write
0
# wb src
WBS_OPC
# pc_old
0110100000101011
# pc_new
1111000100100011
# aluresult
00111111111011011001110111100101
# wrdata
01001000111001101111010100011001
# zero
1
# mem busy
1
# mem rddata
00101001100101001000011100110100

# test case 25
# stall
0
# flush
0
# branchtype
BR_CND
# memread
0
# memwrite
1
# memtype
MEM_HU
# wb rd
01111
# wb write
1
# wb src
WBS_ALU
# pc_old
1000000110111011
# pc_new
0011001111001010
# aluresult
01110110000000101111000011111000
# wrdata
01110010111100100100100000011010
# zero
1
# mem busy
0
# mem rddata
01001011111100111000111010001101

# test case 26
# stall
0
# flush
0
# branchtype
BR_CND
# memread
1
# memwrite
0
# memtype
MEM_BU
# wb rd
01011
# wb write
1
# wb src
WBS_MEM
# pc_old
1111010111011100
# pc_new
0100100101000010
# aluresult
01100111110001110001000001011011
# wrdata
00110101010000111001001011000111
# zero
1
# mem busy
0
# mem rddata
01111010000001101000001111101010

# test case 27
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
00110
# wb write
0
# wb src
WBS_ALU
# pc_old
1000011100010010
# pc_new
0110100011111101
# aluresult
00000101010010111010101000000110
# wrdata
01001000011000101101010000110011
# zero
1
# mem busy
0
# mem rddata
01100101010011010000011111111101

# test case 28
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_B
# wb rd
00011
# wb write
0
# wb src
WBS_OPC
# pc_old
1101111011111000
# pc_new
1001010110001101
# aluresult
01000111001100100100011001011000
# wrdata
00000110001101110100010010110011
# zero
0
# mem busy
1
# mem rddata
00001110100111011000110111110101

# test case 29
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_B
# wb rd
01111
# wb write
0
# wb src
WBS_OPC
# pc_old
0001111111101111
# pc_new
1100010100001011
# aluresult
00000001111100000111010000101111
# wrdata
01001001000110110001010011000011
# zero
0
# mem busy
1
# mem rddata
01111011111010110111110111000001

# test case 30
# stall
0
# flush
0
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_W
# wb rd
01011
# wb write
0
# wb src
WBS_OPC
# pc_old
0110001110100111
# pc_new
0110010110110001
# aluresult
01011010010101100111110100011110
# wrdata
01010000010000000110011000010001
# zero
0
# mem busy
0
# mem rddata
00111010111010101111101110011110

# test case 31
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_HU
# wb rd
01011
# wb write
1
# wb src
WBS_MEM
# pc_old
1000001111000111
# pc_new
0011000001001011
# aluresult
00100101100010100001000100100101
# wrdata
01110111000011101101011010101101
# zero
0
# mem busy
0
# mem rddata
01011010111110001001101110111000

# test case 32
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_HU
# wb rd
00101
# wb write
1
# wb src
WBS_OPC
# pc_old
1000001000111010
# pc_new
1001101110011011
# aluresult
00111010110011000110100110001111
# wrdata
00110100111011010101100110101100
# zero
0
# mem busy
0
# mem rddata
00111110110010111011111101011101

# test case 33
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
01010
# wb write
0
# wb src
WBS_MEM
# pc_old
0011100011010011
# pc_new
0101001111110011
# aluresult
01010111010000110001111011111101
# wrdata
01010110111001100110011110010010
# zero
0
# mem busy
1
# mem rddata
01101101110110101001011111011110

# test case 34
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
00010
# wb write
1
# wb src
WBS_OPC
# pc_old
0011101011011010
# pc_new
1100101011100110
# aluresult
01111000000110100100010101111011
# wrdata
00111110000000111111111001110011
# zero
0
# mem busy
1
# mem rddata
00101011110110011001101000001110

# test case 35
# stall
0
# flush
0
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_W
# wb rd
01111
# wb write
1
# wb src
WBS_MEM
# pc_old
1010111010110111
# pc_new
1101001001011010
# aluresult
00111110000111110010110011100010
# wrdata
00110110001011011101110110011110
# zero
0
# mem busy
1
# mem rddata
01001111000100000011000110010001

# test case 36
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
01111
# wb write
0
# wb src
WBS_MEM
# pc_old
0111011111000001
# pc_new
0100000001011000
# aluresult
00101110101000111001110101001001
# wrdata
00011101011001011000110011101100
# zero
0
# mem busy
1
# mem rddata
00001011010001010101011111010010

# test case 37
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
11110
# wb write
0
# wb src
WBS_MEM
# pc_old
0000000110100000
# pc_new
1100100110001000
# aluresult
01110101101000001100011000100101
# wrdata
01110110101011111110001001011111
# zero
0
# mem busy
0
# mem rddata
01011100110111011011010010111001

# test case 38
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_B
# wb rd
10111
# wb write
1
# wb src
WBS_MEM
# pc_old
1011111000111111
# pc_new
0110100001100101
# aluresult
01100010001000110100101100011111
# wrdata
00110110101011110010001101100101
# zero
0
# mem busy
0
# mem rddata
01001011011000110110001110111110

# test case 39
# stall
0
# flush
0
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_W
# wb rd
11000
# wb write
1
# wb src
WBS_ALU
# pc_old
0101110010101110
# pc_new
0100010000011100
# aluresult
01110011000001110010111110010100
# wrdata
01001000110010101100110101010010
# zero
1
# mem busy
0
# mem rddata
00011011101110101001011011011010

# test case 40
# stall
0
# flush
0
# branchtype
BR_CND
# memread
1
# memwrite
0
# memtype
MEM_H
# wb rd
10011
# wb write
1
# wb src
WBS_ALU
# pc_old
0001110001001101
# pc_new
1011100110010011
# aluresult
01110100000111110111000101110011
# wrdata
00100101101000001010000001011001
# zero
1
# mem busy
1
# mem rddata
00000011100100110000100010111110

# test case 41
# stall
0
# flush
0
# branchtype
BR_CND
# memread
0
# memwrite
1
# memtype
MEM_HU
# wb rd
00010
# wb write
0
# wb src
WBS_OPC
# pc_old
0110010000101111
# pc_new
1110110110100011
# aluresult
00000101001011000100110101110111
# wrdata
00001000100000110000101111001111
# zero
1
# mem busy
1
# mem rddata
01111101101100100100111111101011

# test case 42
# stall
0
# flush
0
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_HU
# wb rd
00010
# wb write
1
# wb src
WBS_ALU
# pc_old
1011000101010101
# pc_new
0000001110001011
# aluresult
00101100101100111111110110000110
# wrdata
00100001001011010111100110100010
# zero
1
# mem busy
1
# mem rddata
01111111001100010011001100110101

# test case 43
# stall
0
# flush
0
# branchtype
BR_CND
# memread
0
# memwrite
1
# memtype
MEM_H
# wb rd
01101
# wb write
0
# wb src
WBS_ALU
# pc_old
0111100001000110
# pc_new
1101110001010100
# aluresult
00011000101111111001111101111101
# wrdata
00010101110010100010111100011100
# zero
1
# mem busy
0
# mem rddata
01111100000001110001110010111111

# test case 44
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_B
# wb rd
01111
# wb write
0
# wb src
WBS_OPC
# pc_old
0001001011000110
# pc_new
0011111000100011
# aluresult
00101000001111100110010000001000
# wrdata
01110010101100000010000100010111
# zero
0
# mem busy
1
# mem rddata
01010111101010110010010010100010

# test case 45
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
01111
# wb write
1
# wb src
WBS_MEM
# pc_old
0100001101011100
# pc_new
1111101111001110
# aluresult
00000100110010111100001101010001
# wrdata
01101111111011000000011001000110
# zero
0
# mem busy
1
# mem rddata
01100101110111111110001010011011

# test case 46
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_B
# wb rd
10010
# wb write
1
# wb src
WBS_MEM
# pc_old
0011100110001101
# pc_new
1110000100101100
# aluresult
01000010100001100001001011001000
# wrdata
00001010110001001001100011110100
# zero
0
# mem busy
1
# mem rddata
01111000101001001101011100010111

# test case 47
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
10111
# wb write
1
# wb src
WBS_ALU
# pc_old
1010111111010111
# pc_new
0001001111110010
# aluresult
01100000011111110100000101111000
# wrdata
00010101011101000111001000001101
# zero
0
# mem busy
0
# mem rddata
01010010001000010110110111011011

# test case 48
# stall
0
# flush
0
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_H
# wb rd
11111
# wb write
0
# wb src
WBS_ALU
# pc_old
0001101110110011
# pc_new
1111010000000100
# aluresult
00110100011011100100010100111011
# wrdata
01100000100111101010001100100111
# zero
1
# mem busy
0
# mem rddata
01000110000100011000010001010011

# test case 49
# stall
0
# flush
0
# branchtype
BR_CND
# memread
0
# memwrite
1
# memtype
MEM_BU
# wb rd
10101
# wb write
1
# wb src
WBS_OPC
# pc_old
1110101001111011
# pc_new
0011011111000000
# aluresult
01010000001010110101100000010110
# wrdata
01110000111000110101010111000100
# zero
1
# mem busy
0
# mem rddata
00010010100010000110100110110111

# test case 50
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_B
# wb rd
10110
# wb write
0
# wb src
WBS_ALU
# pc_old
0100000101110001
# pc_new
1101110010011001
# aluresult
01101010100001000100001000110101
# wrdata
01111110001101011010111100100111
# zero
0
# mem busy
0
# mem rddata
00011110000110001010001100101100

# test case 51
# stall
0
# flush
0
# branchtype
BR_BR
# memread
1
# memwrite
0
# memtype
MEM_H
# wb rd
00110
# wb write
0
# wb src
WBS_OPC
# pc_old
1101001110000010
# pc_new
1011000100100111
# aluresult
01011111111000010011000011000100
# wrdata
00000010100000111100001001010110
# zero
0
# mem busy
0
# mem rddata
01001111010010101111101000010110

# test case 52
# stall
0
# flush
0
# branchtype
BR_BR
# memread
0
# memwrite
1
# memtype
MEM_H
# wb rd
01011
# wb write
1
# wb src
WBS_ALU
# pc_old
1100001001100110
# pc_new
1111011010001001
# aluresult
00101101010000001101000111111000
# wrdata
00001100100000001010101000111100
# zero
0
# mem busy
0
# mem rddata
01001000001100001000011011010101

# test case 53
# stall
0
# flush
0
# branchtype
BR_NOP
# memread
1
# memwrite
0
# memtype
MEM_BU
# wb rd
11100
# wb write
1
# wb src
WBS_MEM
# pc_old
0010100011101011
# pc_new
0111010001100111
# aluresult
00100001111011110111011101011011
# wrdata
00000101110101011010111001001110
# zero
0
# mem busy
0
# mem rddata
00000010010001100101111101110101
